package com.cyk.feign;

import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClientConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "user", configuration = LoadBalancerClientConfiguration.class)
public interface UserClient {

    @GetMapping("/user")
    String startOk();

}
